* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}
.box {
    float: none;
    width: 100%;
}

/* About */
#about-info .info-right,
#about-info .info-left {
    float: none;
    width: 100%;
}

#about-info .info-right {
    margin-top: 30px;
}
#navbar {
    background: #3f372d;
    color: #fff;
    padding: 10px 0;
    position: relative;
    z-index: 1000;
}

    #navbar .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo a {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .nav-links li a {
        color: #fff;
        text-decoration: none;
        padding: 8px 10px;
    }

        .nav-links li a:hover {
            background: #444;
            border-radius: 4px;
        }

.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgb(76, 68, 58);
    min-width: 150px;
    z-index: 1001;
    flex-direction: column;
}

    .dropdown-content a {
        color: #fff;
        background-color: rgb(76, 68, 58);
        padding: 10px;
        text-decoration: none;
        display: block;
        border-bottom: 1px dotted #666;
    }

        .dropdown-content a:hover {
            background-color: #3f372d;
        }

    .dropdown-content.show {
        display: flex;
    }

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
/* Showcase */
#showcase {
    height: 100%;
}

    #showcase .showcase-content {
        padding-top: 70px;
        padding-bottom: 30px;
    }

/* Home Info */
#home-info .info-img {
    display: none;
}

#home-info .info-content {
    float: none;
    width: 100%;
    padding: 30px 10px;
}

@media (max-width: 768px) {
    #navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
        flex-wrap: wrap; /* Buraya eklendi: satırlar sarılsın */
    }

    .menu-toggle {
        display: block;
        position: relative;
        font-size: 28px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        margin-left: auto;
        margin-bottom:10px;
    }
    .lastlog{
        display:none;
    }
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
        background: #3f372d;
        margin-top: 10px;
        order: 2;
    }

        .nav-links.showing {
            display: flex;
        }

        .nav-links li {
            width: 100%;
            text-align: left;
            border-top: 1px dotted #555;
        }
    #navbar ul li a {
        padding: 5px;
    }
    .dropdown {
        width: 100%;
    }
    .auth-links{
        margin:auto;
    }
    .dropdown-content {
        position: static !important; /* relative yerine static verelim ki tamamen flow içinde olsun */
        width: 90%;
        margin: 10px auto 0 auto; /* biraz üst boşluk ver */
        left: auto !important;
        right: auto !important;
        box-sizing: border-box;
        border-radius: 4px;
    }
    .dropdown-content a{
        margin:auto;
        margin-top:20px;
        margin-bottom:20px;
    }
    .dropdown-btn {
        width: 100%;
        text-align: left;
    }
}


